package com.wang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname JspController
 * @Description TODO
 * @Date 2024/5/15 8:43
 * @Created by pc
 */
@Controller
public class JspController {

    @RequestMapping("/index")
    public String index(Model model){
        model.addAttribute("msg","wow~~~~~");
        return "index";
    }

}
